const state = {
  unDelivery: 0, // 待发货
};

const mutations = {
  SET_ORDER_UNDELIVERY: (state, unDelivery) => {
    state.unDelivery = unDelivery;
  },
};

const actions = {
  setUnDelivery({ commit }, params) {
    commit('SET_ORDER_UNDELIVERY', params);
  },
};

export default {
  namespaced: true,
  state,
  mutations,
  actions,
};
